import '../css/iconfont.css';
import '../css/index.less';

const add = (x, y) => x + y;

const promise = new Promise((resolve) => {
  setTimeout(() => {
    // eslint-disable-next-line
        console.log('定时器执行完了~');
    resolve();
  }, 2000);
});

// eslint-disable-next-line
console.log(add(1, 2));

// eslint-disable-next-line
console.log(promise);
